package com.fengmi.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Author: 施俊豪
 * Date: 2022/1/23 13:50
 * Note: 分页查询实体类条件
 */
@ApiModel("分页条件查询参数实体类")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EntityDTO<T> {

    @ApiModelProperty("查询页数")
    private Integer pageNum;

    @ApiModelProperty("每页显示记录数")
    private Integer pageSize;

    @ApiModelProperty("查询条件")
    private T where;

}
